import request from '@/utils/request'


export function page(data) {
  return request({
    url: '/v1/file-upload/page',
    method: 'get',
    params: data
  })
}


export function deleteById(id) {
  return request({
    url: '/v1/file-upload/delete/' + id,
    method: 'get',
  })
}


//

export function checkLogProgress(id) {
  return request({
    url: 'v1/file-upload/' + id,
    method: 'get'
  })
}



export function checkDetail(data) {
  return request({
    url: 'v1/file-upload/getByFile',
    method: 'get',
    params:data
  })
}

//删除任务



export function deleteTask(id) {
  return request({
    url: 'v1/down-record/delete/'+id,
    method: 'get'
  })
}